#ifndef PEOPLE_H
#define PEOPLE_H
#include <string>
using namespace std;

class People {
protected:
    string name;
    string sex;
public:
    
    People();
    People(string n, string s);

    virtual ~People() = default; 
    virtual void showInfo() const = 0; 
    virtual void setInfo() = 0;

    
    string getName() const;
    string getSex() const;
    void setName(string n);
    void setSex(string s);
};
#endif